<template>
    <div id="title-container">
        <div class="title">
            <h1>
                {{title}}
            </h1>
        </div>
    </div>
</template>

<script>
    export default {
        props: {
            title: {
                type: String,
                require: true
            }
        },
        name: "Title"
    }
</script>

<style scoped>
    .title {
        border-bottom: 1px solid #666;
        display: inline-block;
    }

    h1 {
        margin-bottom: 5px;
        color: #666;
        font-size: 20px;
    }
</style>
